Optimal. Leaf size=48 \[ -\frac{3 (47 x+37)}{5 \left (3 x^2+5 x+2\right )}+23 \log (x+1)+\frac{52}{25} \log (2 x+3)-\frac{627}{25} \log (3 x+2) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0968883, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08 \[ -\frac{3 (47 x+37)}{5 \left (3 x^2+5 x+2\right )}+23 \log (x+1)+\frac{52}{25} \log (2 x+3)-\frac{627}{25} \log (3 x+2) \]
Antiderivative was successfully verified.
[In] Int[(5 - x)/((3 + 2*x)*(2 + 5*x + 3*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 19.7991, size = 41, normalized size = 0.85 \[ - \frac{141 x + 111}{5 \left (3 x^{2} + 5 x + 2\right )} + 23 \log{\left (x + 1 \right )} + \frac{52 \log{\left (2 x + 3 \right )}}{25} - \frac{627 \log{\left (3 x + 2 \right )}}{25} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((5-x)/(3+2*x)/(3*x**2+5*x+2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0575054, size = 48, normalized size = 1. \[ \frac{1}{25} \left (-\frac{15 (47 x+37)}{3 x^2+5 x+2}-627 \log (-6 x-4)+575 \log (-2 (x+1))+52 \log (2 x+3)\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(5 - x)/((3 + 2*x)*(2 + 5*x + 3*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.016, size = 40, normalized size = 0.8 \[ -{\frac{51}{10+15\,x}}-{\frac{627\,\ln \left ( 2+3\,x \right ) }{25}}+{\frac{52\,\ln \left ( 3+2\,x \right ) }{25}}-6\, \left ( 1+x \right ) ^{-1}+23\,\ln \left ( 1+x \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((5-x)/(3+2*x)/(3*x^2+5*x+2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.68962, size = 57, normalized size = 1.19 \[ -\frac{3 \,{\left (47 \, x + 37\right )}}{5 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}} - \frac{627}{25} \, \log \left (3 \, x + 2\right ) + \frac{52}{25} \, \log \left (2 \, x + 3\right ) + 23 \, \log \left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(x - 5)/((3*x^2 + 5*x + 2)^2*(2*x + 3)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.266782, size = 96, normalized size = 2. \[ -\frac{627 \,{\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (3 \, x + 2\right ) - 52 \,{\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (2 \, x + 3\right ) - 575 \,{\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (x + 1\right ) + 705 \, x + 555}{25 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(x - 5)/((3*x^2 + 5*x + 2)^2*(2*x + 3)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.484166, size = 41, normalized size = 0.85 \[ - \frac{141 x + 111}{15 x^{2} + 25 x + 10} - \frac{627 \log{\left (x + \frac{2}{3} \right )}}{25} + 23 \log{\left (x + 1 \right )} + \frac{52 \log{\left (x + \frac{3}{2} \right )}}{25} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5-x)/(3+2*x)/(3*x**2+5*x+2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.275496, size = 61, normalized size = 1.27 \[ -\frac{3 \,{\left (47 \, x + 37\right )}}{5 \,{\left (3 \, x + 2\right )}{\left (x + 1\right )}} - \frac{627}{25} \,{\rm ln}\left ({\left | 3 \, x + 2 \right |}\right ) + \frac{52}{25} \,{\rm ln}\left ({\left | 2 \, x + 3 \right |}\right ) + 23 \,{\rm ln}\left ({\left | x + 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(x - 5)/((3*x^2 + 5*x + 2)^2*(2*x + 3)),x, algorithm="giac")
[Out]